﻿using System;
using Gean.Interface;

namespace Pansoft.Authority.Entities
{
    /// <summary>角色
    /// </summary>
    public class Role : AuthorityList, IEntityInfo, IIdentifiedEntity<string>
    {
        public string Description { get; set; }

        #region Implementation of IEntityInfo

        /// <summary>实体的创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>实体的修改时间
        /// </summary>
        public DateTime ModifiedTime { get; set; }

        /// <summary>实体的创建人的ID
        /// </summary>
        public string CreaterId { get; set; }

        /// <summary>实体的修改人的ID
        /// </summary>
        public string MenderId { get; set; }

        /// <summary>实体是否是被删除状态
        /// </summary>
        public bool IsDeleted { get; set; }

        #endregion

        #region IIdentifiedEntity<string> Members

        /// <summary>本实体的ID
        /// </summary>
        public string Id { get; set; }

        #endregion
    }
}